<?php

use Faker\Generator as Faker;
use App\employee_detail;

$factory->define(employee_detail::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'tel' => str_rands(11, true),
        'post'=>str_random(10),
        'birth' => $faker->date(),
        'department'=>str_random(10)

    ];
});
